<template>
  <div>
    这是dashboard页
    <el-button type="primary" @click="jumpPage">跳转路由</el-button>
  </div>
</template>

<script setup lang="ts" name="dashboard">
import { useRoute, useRouter } from 'vue-router';
const router = useRouter()
const jumpPage = () => {
  router.push({
    path: '/about',
    query: {
      data: 'aboutPages'
    }
  })
}
</script>

<style lang="scss" scoped>

</style>